<style lang="less" scoped>

</style>
<template>
  <i
    :class="[
            'iconfont',
            name ? 'icon-' + name : '',
            place + '-icon',
            'b_FS-' + size
        ]"
    @click="tap">

  </i>
</template>
<script type='text/babel'>
  export default {
    name: 'VIcon',
    props: {
      name: String,
      size: {
        type: [String, Number],
        default: '60',
      },
      place: {
        type: String,
        default: 'left'
      }
    },
    methods: {
      tap() {
        this.$emit('click')
      }
    }
  }
</script>
